<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>let const</title>
	</head>
	<body>
		<script>
		 let arr=[2,4,53,456,56,567,345,23];
		 let iterator= arr[Symbol.iterator]();//后的数组内部的迭代器
		 for (let s of iterator) {
		 	console.log(s);
		 }
		 //常用方式 
		 for (let s of arr) {
		 	console.log("for-of",s);
		 }
		 debugger;
		</script>
	</body>
</html>
